import React from 'react';
import { RouteObject } from 'react-router-dom';
import UserSettings from './index';
import ProfileForm from './components/ProfileForm';
import SecurityForm from './components/SecurityForm';
import NotificationForm from './components/NotificationForm';

const routes: RouteObject[] = [
  {
    path: '/common/user',
    element: <UserSettings />,
  },
  {
    path: '/common/user/profile',
    element: <ProfileForm />,
  },
  {
    path: '/common/user/security',
    element: <SecurityForm />,
  },
  {
    path: '/common/user/notifications',
    element: <NotificationForm />,
  },
];

export default routes; 